package common.gson;

import java.io.IOException;
import java.lang.reflect.Type;
import java.text.SimpleDateFormat;

import javax.xml.datatype.XMLGregorianCalendar;

import org.hibernate.collection.internal.PersistentBag;

import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;

import common.DateUtils;

public class PersistentBagAdapter extends TypeAdapter {

	@Override
	public Object read(JsonReader in) throws IOException {
		// TODO Auto-generated method stub
		System.err.println( "PersistentBagAdapter.read" );
		return null;
	}

	@Override
	public void write(JsonWriter out, Object obj) throws IOException {
		// TODO Auto-generated method stub
		System.err.println( "PersistentBagAdapter.write" );
	}
}

